# 字符串精度控制
name = "tanglx"
int = 21
height = 1.75

print("宽度为不限制：%s"%name)
print("宽度限制为7：%7s"%name)
print("不设置精度：%f"%height)
print("设置精度为2：%.2f"%height)
print("设置宽度为7,精度为1:%7.1f"%height)
